package com.tedu.springboot01.dao;

import com.tedu.springboot01.pojo.SysNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysNoticeDao {
    int insertNotice(SysNotice sysNotice);
    List<SysNotice> selectNotices(SysNotice notice);
    int deleteById(long[] id);
    @Select("select * from sys_notice where id=#{id}")
    SysNotice selectById(Integer id);
    int updateNotice(SysNotice sysNotice);
}
